﻿@section header{

}
<form id="form1">
    <div class="form-layout">
        <input type="hidden" name="ID" />
        <table class="form">

            <tr>
                <th class="formTitle">用户登录帐号</th>
                <td class="formValue">
                    <input id="Account" name="Account" type="text" class="form-control " autocomplete="off" />
                </td>
            </tr>

            <tr>
                <th class="formTitle">密码</th>
                <td class="formValue">
                    <input id="Password" name="Password" type="text" class="form-control " autocomplete="off" />
                </td>
            </tr>

            <tr>
                <th class="formTitle">用户姓名</th>
                <td class="formValue">
                    <input id="Name" name="Name" type="text" class="form-control " autocomplete="off" />
                </td>
            </tr>

            <tr>
                <th class="formTitle">性别</th>
                <td class="formValue">
                    <input id="Sex" name="Sex" type="text" class="form-control " autocomplete="off" />
                </td>
            </tr>

            <tr>
                <th class="formTitle">用户状态</th>
                <td class="formValue">
                    <input id="Status" name="Status" type="text" class="form-control " autocomplete="off" />
                </td>
            </tr>

            <tr>
                <th class="formTitle">手机</th>
                <td class="formValue">
                    <input id="Mobile" name="Mobile" type="text" class="form-control " autocomplete="off" />
                </td>
            </tr>

            <tr>
                <th class="formTitle">电子邮箱</th>
                <td class="formValue">
                    <input id="Email" name="Email" type="text" class="form-control " autocomplete="off" />
                </td>
            </tr>

            <tr>
                <th class="formTitle">国籍/地区</th>
                <td class="formValue">
                    <input id="Nationality" name="Nationality" type="text" class="form-control " autocomplete="off" />
                </td>
            </tr>

            <tr>
                <th class="formTitle">宗教信仰</th>
                <td class="formValue">
                    <input id="Faith" name="Faith" type="text" class="form-control " autocomplete="off" />
                </td>
            </tr>

            <tr>
                <th class="formTitle">健康状况</th>
                <td class="formValue">
                    <input id="Health" name="Health" type="text" class="form-control " autocomplete="off" />
                </td>
            </tr>

            <tr>
                <th class="formTitle">证件类型</th>
                <td class="formValue">
                    <input id="IdcardType" name="IdcardType" type="text" class="form-control " autocomplete="off" />
                </td>
            </tr>

            <tr>
                <th class="formTitle">证件号码</th>
                <td class="formValue">
                    <input id="Idcard" name="Idcard" type="text" class="form-control " autocomplete="off" />
                </td>
            </tr>

            <tr>
                <th class="formTitle">邮寄地址</th>
                <td class="formValue">
                    <input id="Address" name="Address" type="text" class="form-control " autocomplete="off" />
                </td>
            </tr>

            <tr>
                <th class="formTitle">邮编</th>
                <td class="formValue">
                    <input id="Zipcode" name="Zipcode" type="text" class="form-control " autocomplete="off" />
                </td>
            </tr>

            <tr>
                <th class="formTitle">生肖</th>
                <td class="formValue">
                    <input id="Zodiac" name="Zodiac" type="text" class="form-control " autocomplete="off" />
                </td>
            </tr>

            <tr>
                <th class="formTitle">星座</th>
                <td class="formValue">
                    <input id="Constellation" name="Constellation" type="text" class="form-control " autocomplete="off" />
                </td>
            </tr>

            <tr>
                <th class="formTitle">出生年月日</th>
                <td class="formValue">
                    <input id="BirthDate" name="BirthDate" type="text" class="form-control " autocomplete="off" />
                </td>
            </tr>

            <tr>
                <th class="formTitle">婚姻状态</th>
                <td class="formValue">
                    <input id="Marry" name="Marry" type="text" class="form-control " autocomplete="off" />
                </td>
            </tr>

            <tr>
                <th class="formTitle">政治面貌</th>
                <td class="formValue">
                    <input id="PoliticalID" name="PoliticalID" type="text" class="form-control " autocomplete="off" />
                </td>
            </tr>

            <tr>
                <th class="formTitle">名族</th>
                <td class="formValue">
                    <input id="NationalID" name="NationalID" type="text" class="form-control " autocomplete="off" />
                </td>
            </tr>

            <tr>
                <th class="formTitle">籍贯</th>
                <td class="formValue">
                    <input id="NativePlace" name="NativePlace" type="text" class="form-control " autocomplete="off" />
                </td>
            </tr>


        </table>
    </div>
</form>
@section scripts{
    <script>
        var baseUrl = "/rbac/User/";
        var keyValue = $.request("keyValue");
        $(function () {
            initControl();
            $.ajax({
                url: baseUrl + "GetFormJson",
                data: { keyValue: keyValue },
                dataType: "json",
                async: false,
                success: function (data) {
                    $("#form1").formSerialize(data);
                    $("#form1").find('.form-control,select,input').attr('readonly', 'readonly');
                    $("#form1").find('div.ckbox label').attr('for', '');
                }
            });
        });
        function initControl() {

        }
    </script>
}